
export default class Result {
    static of(value) {
        return Object.assign({ code: 0, message: 'ok' }, value);
    }
}